
import 'package:wu_you/page/mall/page_product_order.dart';
import 'package:wu_you/page/page_main.dart';
import 'package:wu_you/page/splash/page_login.dart';
import 'package:wu_you/route/app_routers.dart';

class AppRoutesImport{

 static final routes = {
   AppRoutes.routeMain: (ctx, {arg}) => MainPage(),
   AppRoutes.routeLogin: (ctx, {arg}) => LoginPage(),
   AppRoutes.mallOrder: (ctx, {String arg}) =>
       ProductOrderListPage(index: arg == null ? 0 : int.parse(arg)),
  };
}